/* 
 * File:   Date.h
 * Author: Macaire
 *
 * Created on October 1, 2012, 1:53 PM
 */

#ifndef DATE_H
#define	DATE_H
#include <iostream>
using namespace std;

class Date {
public:
    Date();
    void setDay();
    int getDay();
    void setMonth();
    int getMonth();
    void setYear();
    int getYear();
private:
    int day, month, year;


};

Date::Date() {
    setDay();
    setMonth();
    setYear();
}

void Date::setDay() {
    cout << "What day of the month? "<<"Enter a whole number!"<< endl;
    cin >> day;
    cout<<endl;
}
int Date::getDay() {
    return day;
}

void Date::setMonth() {
    cout << "What month? Use an integer!" << endl;
    cin >> month;
    cout<<endl;
}

int Date::getMonth() {
    return month;
}

void Date::setYear() {
    cout << "What year?" << endl;
    cin >> year;
    cout<<endl;
}

int Date::getYear() {
    return year;
}
#endif	/* DATE_H */

